import java.util.Scanner;


public class InputTest {
  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);

    // Get first input.
    System.out.print("What's your name? ");
    String name = in.nextLine();

    // Get second input.
    System.out.print("How old are you? ");
    int age = in.nextInt();

    // Get third input.
    System.out.print("What's your salary? ");
    double salary = in.nextDouble();

    // Display output on console.
    System.out.println("Hello, " + name + ". Next year, you'll be " + (age + 1));
    System.out.println("Your salary is " + salary);
  }
}
